package com.bupt.hotel.hvac;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 酒店中央温控系统启动类
 * 
 * @author BUPT Team
 */
@SpringBootApplication
@EnableScheduling
@MapperScan("com.bupt.hotel.hvac.mapper")
public class HvacApplication {

    public static void main(String[] args) {
        SpringApplication.run(HvacApplication.class, args);
        System.out.println("\n========================================");
        System.out.println("  中央温控系统启动成功！");
        System.out.println("  访问地址: http://localhost:8080/api");
        System.out.println("========================================\n");
    }
}
